projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf9b9a0
)
textview: Remove commented block
author
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 09:41:46 +0000
(10:41 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 09:44:27 +0000
(10:44 +0100)
It's referencing gdk_cairo_create(), which does not exist any more.
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index c4ee2228a007ecda8da8e69608a6f51e510f5d1a..10fec27155bf7207bae7d0acd0b0f11af975c7fe 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-10094,16
+10094,6
@@
text_window_invalidate_rect (GtkTextWindow *win,
}
gdk_window_invalidate_rect (win->bin_window, &window_rect, FALSE);
-
-#if 0
- {
- cairo_t *cr = gdk_cairo_create (win->bin_window);
- gdk_cairo_rectangle (cr, &window_rect);
- cairo_set_source_rgb (cr, 1.0, 0.0, 0.0); /* red */
- cairo_fill (cr);
- cairo_destroy (cr);
- }
-#endif
}
static void